package com.example.enterprisemanager.mvvm.fragment.manager.ben;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;

public class WaitPurchase extends BmobObject {

    private String name;              //物品名称
    private String company;           //所属公司
    private BmobFile avatar;          //物品图像描述
    private String type;               //资产类型
    private Integer price;            //单价
    private Integer number;            //正在售卖数量
    private Integer haveSell;            //已售卖数量

    public WaitPurchase(String name, String company, BmobFile avatar, String type, Integer price, Integer number, Integer haveSell) {
        this.name = name;
        this.company = company;
        this.avatar = avatar;
        this.type = type;
        this.price = price;
        this.number = number;
        this.haveSell = haveSell;
    }

    public Integer getHaveSell() {
        return haveSell;
    }

    public void setHaveSell(Integer haveSell) {
        this.haveSell = haveSell;
    }

    public WaitPurchase() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public BmobFile getAvatar() {
        return avatar;
    }

    public void setAvatar(BmobFile avatar) {
        this.avatar = avatar;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
}
